<!DOCTYPE html>
<html <?php language_attributes(); ?>>

   <head>
      <meta charset="<?php bloginfo('charset'); ?>" />

      <?php if (is_search()) { ?>
         <meta name="robots" content="noindex, nofollow" /> 
      <?php } ?>

      <title>
         <?php
         if (function_exists('is_tag') && is_tag()) {
            single_tag_title("Tag Archive for &quot;");
            echo '&quot; - ';
         } elseif (is_archive()) {
            wp_title('');
            echo ' Archive - ';
         } elseif (is_search()) {
            echo 'Search for &quot;' . wp_specialchars($s) . '&quot; - ';
         } elseif (!(is_404()) && (is_single()) || (is_page())) {
            wp_title('');
            echo ' - ';
         } elseif (is_404()) {
            echo 'Not Found - ';
         }
         if (is_home()) {
            bloginfo('name');
            echo ' - ';
            bloginfo('description');
         } else {
            bloginfo('name');
         }
         if ($paged > 1) {
            echo ' - page ' . $paged;
         }
         ?>
      </title>
      <link rel="Shortcut Icon" href="<?php bloginfo('url') ?>/favico.png" type="image/x-icon" />
<!--      <link rel="image_src" href="<?php bloginfo('url') ?>/shoppingnhatrang.jpg" />-->

      <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
      <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url') ?>/skin1/css/style.css" />
      <?php if (is_page() || is_single()): ?>
         <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url') ?>/skin1/css/page.css" />
      <?php endif ?>
      <!--[if IE]>
         <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url') ?>/skin1/css/ie.css" />
      <![endif]-->
      <script type="text/javascript" src="<?php bloginfo('template_url') ?>/skin1/js/jquery-1.6.4.min.js"></script>
      <script type="text/javascript" src="<?php bloginfo('template_url') ?>/skin1/js/custom-js.js"></script>
      <?php if (is_home()): ?>
         <script type="text/javascript" src="<?php bloginfo('template_url') ?>/skin1/js/lh-index.js"></script>
         <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url') ?>/skin1/css/slider.css" />
      <?php else: ?>
         <script type="text/javascript" src="<?php bloginfo('template_url') ?>/skin1/js/lh.js"></script>
      <?php endif ?>
      <?php
//      if (is_page('ao-doi') ||
//              is_page('ao-thun-nu') ||
//              is_page('ao-thun-nam') ||
//              is_page('dong-phuc-hoc-sinh') ||
//              is_page('may-in-theo-yeu-cau')
//      ):
      if (!is_home()):
         ?>
         <script type="text/javascript" src="<?php bloginfo('template_url') ?>/skin1/js/animate.js"></script>
      <?php endif ?>
      <?php wp_head(); ?>
   </head>
   <body <?php body_class(); ?>>

      <div class="header">
         <h1 id="logo"><a data-template-url="<?php bloginfo('template_url') ?>" href="<?php bloginfo('url') ?>" title="Trang chủ Shopping Nha Trang"><img src="<?php bloginfo('template_url') ?>/skin1/images/header.jpg" alt="Trang chủ" /></a></h1>
      </div>